Inside STM32Cube/Repository
:
git clone --recursive https://github.com/STMicroelectronics/STM32CubeH7.git
git checkout v1.12.1
package.xml
and note:
<PackDescription Release="FW.H7.1.12.0" Patch="FW.H7.1.12.1">
STM32Cube_{VERSION}
.
So for this example it would be STM32Cube_FW_H7_V1.12.1
.
Now the firmware package should be listed in the CubeMX software package manager.
I created two empty projects: One for the nucleo-h753zi board and one for the h753zi mcu only. Then I looked at the diff of the .ioc files:
diff nucleo-h753zi/nucleo-h753zi.ioc stm32h753zi-mcu-only/stm32h753zi-mcu-only.ioc
2d1
< BSP_IP_NAME=NUCLEO-H753ZI
16,19c15,18
< Mcu.IP1=NVIC
< Mcu.IP2=RCC
< Mcu.IP3=SYS
< Mcu.IP4=NUCLEO-H753ZI
---
> Mcu.IP1=MEMORYMAP
> Mcu.IP2=NVIC
> Mcu.IP3=RCC
> Mcu.IP4=SYS
105,106c63,64
< ProjectManager.ProjectFileName=nucleo-h753zi.ioc
< ProjectManager.ProjectName=nucleo-h753zi
---
> ProjectManager.ProjectFileName=stm32h753zi-mcu-only.ioc
> ProjectManager.ProjectName=stm32h753zi-mcu-only
115c73
< board=NUCLEO-H753ZI
< boardIOC=true
---
> board=custom
BSP_IP_NAME=NUCLEO-H753ZI
Mcu.IP4=NUCLEO-H753ZI
boardIOC=true
board=NUCLEO-H753ZI
to board=custom
&Mcu.IPNb=5
to Mcu.IPNb=4
, because we removed one IP line.